import { IsEmail } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class UpdateUserDto {
  @ApiProperty()
  headPic: string;

  @ApiProperty()
  nickName: string;

  @ApiProperty()
  @IsEmail()
  email: string;

  @ApiProperty()
  signature: string;

  @ApiProperty()
  hobbies: string;

  @ApiProperty()
  phoneNumber: string;
}
